home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20020314-20021006
/
000048_fdc@columbia.edu_Fri Apr 26 14:31:23 EDT 2002.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
6KB
|
135 lines
Article: 13339 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: a bug on GNU/linux: speed reset to unintended value occasionally.
Date: 26 Apr 2002 14:30:55 -0400
Organization: Columbia University
Lines: 118
Message-ID: <aac6cv$rlm$1@watsol.cc.columbia.edu>
References: <3CAFF81C.8039CBF8@yk.rim.or.jp> <3CC84CA6.D49F85EC@yk.rim.or.jp> <aa9l3h$4s4$1@watsol.cc.columbia.edu> <3CC98FC0.AADA5130@yk.rim.or.jp>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1019845858 22373 128.59.39.139 (26 Apr 2002 18:30:58 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 26 Apr 2002 18:30:58 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13339
In article <3CC98FC0.AADA5130@yk.rim.or.jp>,
Ishikawa <ishikawa@yk.rim.or.jp> wrote:
: Frank da Cruz wrote:
:
: > : In any case, the inclusion of these capability into
: > : KERMIT must have been deemed necessary upon popular demands,
: > : and I hope you had a nice feedback from the users of KERMIT.
: > :
: > It comes from a conference we attended in Tokyo in 1987. We worked
: > with people from NTT, DEC Japan, and KEK on this and it was widely
: > used in Japan for some years.
:
: I remember Fujii-san from KEK helped
: the popularization of Kermit on Japanese PC.
:
Yes, the NEC PC-9801. This was in the pre-Windows days, when PCs
ran only DOS (or very early forms of Unix). I found it quite
amazing. The keyboard driver -- which lets you type Romaji, puts up
little menus, learns from you, guesses which Kanji you mean, etc --
seemed to be about 100 times more powerful than the PC itself :-)
Fujii-san wrote a book, "MS-Kermit Nyumon":
http://www.columbia.edu/kermit/manuals.html
About the PC-9801 version of MS-DOS Kermit. I suppose this is now a
rare collector's item. It is definitely the thinnest of all Kermit
books. An advantage of Japanese writing: you don't have to use as
much paper!
: This is probably a oft-asked question, but
: I wonder why noone seems to have bothered to obtain
: permission to use Kermit the frog for, say,
: X-window icon for kermit?
:
The lawyers of Henson Associates Inc ("Ha!") allowed us to use the
name Kermit but forbade us to use frog images or Muppets allusions.
I'm not sure that we would have wanted to -- We didn't pick the name
"Kermit" with any expectation that people outside Columbia University
would see it. If we knew then what we know today, we might have
picked a different name ("Kermit" might seem a bit too cute for
serious work), but it's too late now. A bit more about the name
Kermit here:
http://www.columbia.edu/kermit/k95faq.html (third item)
: Anyway, below is the result of
: a little experiment I did to clear up
: my understanding of some options, etc..
: Hope some people might find this useful.
:
: I got curious and
: I measured the CPS rate reported on the screen
: into 20% of the transfer of the binary file "wermit".
:
: Four cases were considered.
: ...
: Transfer was done as
: send /binary ./wermit ./wermit.tmp
:
You don't need to include "/binary" because Kermit will always send
this file in binary mode anyway; see:
http://www.columbia.edu/kermit/ckermit80.html#x4
(but it doesn't hurt either.)
: TABLE-1
:
: CPS (measured into 20% of the transfer. The file is 2183313 bytes.)
: ===================================================================
: CPS: case-1 case-2 case-3 case-4
: -------------------------------------------------------------------
: send: 3010 3009 3835 3621
: receive: 2973 2972 3786 3568
: ===================================================================
:
So Cases 1 and 2 are the same, but "set control unprefix all" is a
bit faster than "set unprefix none". OK, I believe it. Both
commands work on the same table, but perhaps over the years the code
for the two commands has gotten slightly out of sync. It might well
be that prefixing or not prefixing just one certain character (such
as NUL, ASCII 0) can make a significant difference in this case,
since executable binaries tend contain lots of NULs. Maybe that's
the difference between the two commands.
The profiling is not going to explain this difference. Control-
character (un)prefixing is controlled by an array, indexed by the
control character value (0-31, 127-159, 255). The only difference
in the two cases is the values stored in the array and the
subsequent overhead when prefixing is done. As you discovered, the
array is displayed by:
: (/home/ishikawa/KERMIT/new-kermit/send/) C-Kermit>show control
:
: control quote = 35, applied to (0 = unprefixed, 1 = prefixed):
:
: 0: 1 16: 1 128: 0 144: 1
: 1: 1 17: 1 129: 1 145: 1
: 2: 0 18: 0 130: 0 146: 0
: 3: 1 19: 1 131: 1 147: 1
: 4: 1 20: 0 132: 1 148: 0
: 5: 0 21: 1 133: 0 149: 1
: 6: 0 22: 0 134: 0 150: 0
: 7: 0 23: 0 135: 0 151: 0
: 8: 0 24: 1 136: 0 152: 0
: 9: 0 25: 1 137: 0 153: 0
: 10: 1 26: 1 138: 1 154: 1
: 11: 0 27: 0 139: 0 155: 0
: 12: 0 28: 1 140: 0 156: 1
: 13: 1 29: 1 141: 1 157: 1
: 14: 1 30: 1 142: 0 158: 1
: 15: 1 31: 0 127: 0 143: 0 159: 0 255: 1
I'll make a note to fix between the two unprefixing command in the
next release.
- Frank